-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter out conversations with invalid topics #495
Conversation
Deploying with Cloudflare Pages
|
tests added |
describe('topic utils', () => { | ||
describe('isValidTopic', () => { | ||
it('validates topics correctly', () => { | ||
expect(isValidTopic(buildContentTopic('foo'))).toBe(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate the robust tests. It might be helpful to just generate a bunch of random topics (the way we do when creating invites) and ensure that those all pass as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good callout!
added random topic tests here: test: add random topic testing
f3f94af
to
01757fb
Compare
🎉 This PR is included in version 11.2.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 11.3.0-beta.13 🎉 The release is available on: Your semantic-release bot 📦🚀 |
resolves #491